package com.example.miniblog.service;

import com.example.miniblog.entity.User;

import java.util.List;
//  用户服务层接口
public interface IUserService {
    public boolean add(User user);
    public boolean removeUser(String id);
    public boolean updateUser(User user);
    public boolean logout(User user);
    public User getUserById(String id);
    public List<User> getAll();
}
